package com.dw.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dw.dao.TestDao;
import com.dw.entity.Test;
import com.dw.service.TestService;

@Service
public class ITestService implements TestService{

	@Autowired
	TestDao testDao;
	
	@Override
	public void addTest(Test test) {
		testDao.addTest(test);
	}

	@Override
	public List<Test> list() {
		
		return testDao.list();
	}

}
